package com.elink.enginerring.dao;

import org.apache.ibatis.annotations.Param;

import com.elink.enginerring.domain.Collection;

public interface CollectionMapper {
    int deleteByPrimaryKey(Integer collectionId);

    int insert(Collection record);

    int insertSelective(Collection record);

    Collection selectByPrimaryKey(Integer collectionId);

    int updateByPrimaryKeySelective(Collection record);

    int updateByPrimaryKey(Collection record);

	int select(@Param("userId")String userId, @Param("postbarId")String postbarId);

	void delete(@Param("userId")String userId, @Param("postbarId")String postbarId);
}